package ch.ethz.eai.data;

/**
 * Represents a point of interest.
 * <br>
 * Each such "building" has a type, a name, and a physical location.
 * @author zistvan
 *
 */
public class PointOfInterest {
	public final static String TYPE_HOTEL = "hotel";
	public final static String TYPE_CINEMA = "kino";
	public final static String TYPE_PARK = "park";
	public final static String TYPE_BOWLING = "bowling";
	public final static String TYPE_TENNIS = "tennis";
	public final static String TYPE_MUSEUM = "museum";
	
	private Location location;
	private String type;
	private String name;
	
	public PointOfInterest(Location location, String name, String type) {
		super();
		this.location = location;
		this.type = type;
		this.name = name;
	}

	public Location getLocation() {
		return location;
	}

	public void setLocation(Location location) {
		this.location = location;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Override
	public String toString() {
		return "Name:"+name+" Type:"+type+" ("+location+")";
	}
	
}
